package es.deusto.ingenieria.is.search.touringproblem.formulation;

import java.awt.Point;
import java.util.ArrayList;
import java.util.List;

public class City {
	private Point posicion;
	private String name;
	private boolean special;//INICIO PARA COMPARAR CON EL NOMBRE DE LA CITY
	
	
	public City(){
		this.posicion.x=0;
		this.posicion.y=0;
		this.name="";
	}
	
	public City(Point p, String name, boolean special){
		posicion=p;
		this.name=name;
		this.special=special;
	}
	
	public Point getPosicion() {
		return posicion;
	}

	public void setPosicion(Point posicion) {
		this.posicion = posicion;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String toString(){
		return "City '" + this.name + "' - ("+this.posicion.x +"'," + this.posicion.y+")";
		
	}
	
}
